<template>
  <div>
    <el-container>
      <!-- 显示--标题区域 -->
      <el-header class="content_header">
        <h2 class="content_h2">{{data.title1}}</h2>
        <p>{{data.info1}}</p>
      </el-header>
      <!-- 显示--内容区域 -->
      <el-main class="content_main">
        <el-carousel height="500px" trigger="click">
          <el-carousel-item v-for="item in data.imgGame1" :key="item.id">
            <img :src="item.src" alt="" class="image">
          </el-carousel-item>
        </el-carousel>
      </el-main>
    </el-container>
  </div>
</template>

<script>
import data from 'common/data.js'
  export default {
    data() {
      return {
        data,
      }
    }
  }
</script>


<style lang="less" scoped>
  .image {
    width: 100%;
    height: 100%;
  }

  .content_header {
    width: 100%;
  }

  .content_h2 {
    width: 100%;
    margin-top: 30px;
    text-align: center;
    color: #606266;
    font-size: 30px;
  }

  .content_main {
    width: 90%;
    margin: 80px;
  }

  .content_header p {
    font-size: 14px;
    text-align: center;
    color: #F56C6C;
  }
</style>